﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CodeBuilder.ServiceReference;

namespace CodeBuilder
{
    public class TreeViewTag
    {
        public TreeViewTag(TreeViewType type, Object t)
        {
            this.Type = type;
            this.Object = t;
        }

        public TreeViewTag()
        { }

        public TreeViewType Type
        {
            get;
            set;
        }

        public Object Object
        {
            get;
            set;
        }
    }

    /// <summary>
    /// 标识主窗体TreeView节点类型
    /// </summary>
    public enum TreeViewType
    {       
        表根,
        表,
        视图根,
        视图,        
        存储过程根,
        存储过程,
        存储过程参数,
        列       
    }
}
